import { createApp } from 'vue';
import { createPinia } from 'pinia';
import '@/assets/main.css';
import App from './App.vue';
import router from './router';
import 'ant-design-vue/dist/reset.css';
import Antd from 'ant-design-vue';
import * as Icons from '@ant-design/icons-vue';
const app = createApp(App);
const pinia = createPinia();
// 全局引入antd icon
Object.keys(Icons).forEach(key => {
  app.component(key, Icons[key]);
});
app.use(router).use(Antd).use(pinia).mount('#app');
// app 上挂载属性方法
